Class that implements the Cauchy Neighborhood Function
Class Constructor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cauchy_neighborhood_function) | :: | my_neigh_fn |
A |
|||
real(kind=wp), | intent(in), | dimension(:) | :: | parameters |
A real array with the paramters sigma and p |
Function to calculate the value of the cauchy neighborhood
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cauchy_neighborhood_function) | :: | my_neigh_fn |
A |
|||
real(kind=wp), | intent(inout) | :: | geometric_distance |
A real variable with the geometric distnace |
A real value
type,extends(neighborhood_function_base) :: cauchy_neighborhood_function !! Class that implements the Cauchy Neighborhood Function private real(kind=wp) :: sigma,p contains procedure,public :: create => create_cauchy_neighborhood procedure,public :: calculate => calculate_cauchy_neighborhood end type cauchy_neighborhood_function